JavaScript: For Beginners by Francis John Thottungal
Author:Francis John Thottungal [Thottungal, Francis John]
Language: eng
Format: epub, azw3, pdf
Published: 2017-05-08T07:00:00+00:00
Chapter 13. Date
A date object in JavaScript is created with new Date().
The properties of the date object are as follows:
Constructor - gives the function that created the date object.
Prototype - allows properties to be added to objects.
When a date object is created with new Date() without anything in the brackets then the date object is set the current date and time on the system.
Milliseconds: Placing 10000 within the brackets creates a date that represents ten seconds past midnight on 1/1/70.
Datestring: a string representation of the date, in the format accepted by the Date.parse() method will be taken as the value of the object.
Arguments: The date object can take several other arguments inside the bracket such as:
year: Integer value representing the year in full format. Ex: 2017
month: Integer value representing the month, beginning with 0 for January.
date: Integer value representing the day of the month.
hour: Integer value representing the hour of the day in 24-hour format.
minute: Integer value representing the minute segment of a time reading.
second: Integer value representing the second segment of a time reading.
millisecond: Integer value representing the millisecond segment of a time reading.
Download
JavaScript: For Beginners by Francis John Thottungal.azw3
JavaScript: For Beginners by Francis John Thottungal.pdf
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Grails in Action by Glen Smith Peter Ledbrook(9163)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(8808)
Azure Containers Explained by Wesley Haakman & Richard Hooper(7444)
Configuring Windows Server Hybrid Advanced Services Exam Ref AZ-801 by Chris Gill(7433)
Kotlin in Action by Dmitry Jemerov(7263)
Running Windows Containers on AWS by Marcio Morales(6984)
Microsoft 365 Identity and Services Exam Guide MS-100 by Aaron Guilmette(5402)
Microsoft Cybersecurity Architect Exam Ref SC-100 by Dwayne Natwick(5211)
Combating Crime on the Dark Web by Nearchos Nearchou(4981)
The Ruby Workshop by Akshat Paul Peter Philips Dániel Szabó and Cheyne Wallace(4670)
Management Strategies for the Cloud Revolution: How Cloud Computing Is Transforming Business and Why You Can't Afford to Be Left Behind by Charles Babcock(4527)
Python for Security and Networking - Third Edition by José Manuel Ortega(4233)
The Age of Surveillance Capitalism by Shoshana Zuboff(4209)
Learn Wireshark by Lisa Bock(4118)
The Ultimate Docker Container Book by Schenker Gabriel N.;(3888)
Learn Windows PowerShell in a Month of Lunches by Don Jones(3681)
DevSecOps in Practice with VMware Tanzu by Parth Pandit & Robert Hardt(3568)
Windows Ransomware Detection and Protection by Marius Sandbu(3540)
Blockchain Basics by Daniel Drescher(3507)